package com.ybkj.daijia.server.service;

import com.ybkj.daijia.page.Page;
import com.ybkj.daijia.server.model.DjInsurance;
import java.util.Date;
import java.util.List;

/**
 * @author Shine
 */
public interface DjInsuranceService {

    /**
     * 保存司机充值信息
     *
     * @param driverRechargeRecord
     * @return
     */
    public DjInsurance insertRecord(DjInsurance record);

    /**
     * 根据主键查询司机充值信息
     *
     * @param id
     * @return
     */
    public DjInsurance findOne(Long id);


    public Page<DjInsurance> queryByParam(String type, Date start, Date end);

    public List<DjInsurance> listByParam(String type, Date start, Date end);


}
